import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';


const routes: Routes = [
  {path: 'user-manage', loadChildren: () => import('./user-manage/user-manage.module').then(m => m.UserManageModule)},
  {path: 'dic-manage', loadChildren: () => import('./dic-manage/dic-manage.module').then(module => module.DicManageModule)},
  {path: 'menu-manage', loadChildren: () => import('./menu-manage/menu-manage.module').then(module => module.MenuManageModule)},
  {path: 'role-manage', loadChildren: () => import('./role-manage/role-manage.module').then(module => module.RoleManageModule)},
  {path: 'per-group', loadChildren: () => import('./per-group/per-group.module').then(module => module.PerGroupModule)},
  {path: 'area-manage', loadChildren: () => import('./area-manage/area-manage.module').then(module => module.AreaManageModule)},
  {path: 'dept-manage', loadChildren: () => import('./dept/dept.module').then(m => m.DeptModule)},
  {path: 'server-list', loadChildren: () => import('./server-set/server-set.module').then(m => m.ServerSetModule)},
  {path:'door-list',loadChildren:()=>import('./access-control/access-control.module').then(m=>m.AccessControlModule)}
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class SysSettingRoutingModule { }
